<template>
	<view class="warp">
		<view class="navBtn">
			<view class="navItem bg_blue" @click="openPage('pages/workbench/mobileOffice/health/add')">
				<icon class="iconfont icondaoru"></icon>
				<view class="text">上传知识</view>
			</view>
			<view class="navItem bg_red" @click="openPage('pages/workbench/mobileOffice/health/question')">
				<icon class="iconfont iconchengjidan-2"></icon>
				<view class="text">调差问卷</view>
			</view>
		</view>
		<view class="list">
			<view class="item">
				<image src="@/static/images/book.jpg" mode=""></image>
				<view>这是书的名称</view>
			</view>
			<view class="item">
				<image src="@/static/images/book.jpg" mode=""></image>
				<view>这是书的名称</view>
			</view>
			<view class="item">
				<image src="@/static/images/book.jpg" mode=""></image>
				<view>这是书的名称</view>
			</view>
			<view class="item">
				<image src="@/static/images/book.jpg" mode=""></image>
				<view>这是书的名称</view>
			</view>
			<view class="item">
				<image src="@/static/images/book.jpg" mode=""></image>
				<view>这是书的名称</view>
			</view>
			<view class="item">
				<image src="@/static/images/book.jpg" mode=""></image>
				<view>这是书的名称</view>
			</view>
			<view class="item">
				<image src="@/static/images/book.jpg" mode=""></image>
				<view>这是书的名称</view>
			</view>
			<view class="item">
				<image src="@/static/images/book.jpg" mode=""></image>
				<view>这是书的名称</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title: '会议管理',
				background: { backgroundColor: '#0251b6' },
				backIconName: 'nav-back',
				right: false,
				isBack: true,
				isFixed: true,
			};
		},
		methods:{
			//页面跳转
			openPage(url) {
				this.$u.route({
					url: url
				});
			},
		}
	}
</script>

<style lang="scss" scoped>
page{
	background: #f8f8f8;
}
.u-search{
	padding: 20rpx;
}
.navBtn{
	padding:20rpx 0;
	.navItem{
		display: inline-block;
		margin-left:20rpx;
		border-radius:0.3em;
		height:140rpx;
		width: 140rpx;
		color:#fff;
		text-align: center;
		&.bg_red{
			background: #FA3534;
		}
		&.bg_green{
			background: #19BE6B;
		}
		&.bg_blue{
			background: #2979FF;
		}
		.iconfont{
			margin:20rpx 20rpx 10rpx;
			font-size:50rpx;
			
		}
		.text{
			padding:0 10rpx 10rpx;
			font-size:20rpx;
		}
	}
}
.list{
	overflow: hidden;
	padding:0 10rpx;
	.item{
		width: 33.33%;
		padding:10rpx;
		float:left;
		text-align: center;
		image{
			width: 100%;
			height:160px;
		}
	}
}
</style>
